package messengercommon.common;

import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;
import messengercommon.dto.Message;
import messengercommon.person.Contact;
import messengercommon.person.Person;

/**
 *
 * @author Samus
 */
public interface ClientRMI extends Remote, Serializable {

    public void receiveMessage(Message message) throws RemoteException;

    public void contactChange() throws RemoteException;

    public void contactList(List<Contact> contactlist) throws RemoteException;

    public void userDataChanged(Person person) throws RemoteException;
}
